//
//  BaseModel.h
//  BabyStory
//
//  Created by 周文松 on 14-11-18.
//  Copyright (c) 2014年 com.talkweb.BabyStory. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BaseModel : NSObject

@property (nonatomic, strong) NSString *RESULTDESC;
@property (nonatomic, strong) NSString *RESULTCODE;

+ (NSURLConnection *)POST:(NSString *)string parameter:(id)parameter class:( id)class  success:(void (^)(id data))success failure:(void (^)(NSString *msg, NSString *status ))failure;

+ (void)createData:(NSString *)responseString success:(void (^)(id data))success failure:(void (^)( NSString *msg, NSString *state))failure;

@end
